<?

/*
 +-------------------------------------------------------------------+
 |                        config.php                                 |
 |                                                                   |
 | Copyright ?                          www.gde.sclab.clarkson.edu   |
 | Author: Demetrios Dimatos            www.dimatos.net              |
 | Created: August 2006                 Last modified: Oct 15, 2006  |
 +-------------------------------------------------------------------+
 | These class variables are used throught the GDE application to    |
 | to control paths and file locations.                              |
 +-------------------------------------------------------------------+
*/

/**
 * Class Config - This class should not be altered in any way.
 * These Constants are used on the gde source to control source paths
 */

class Config
{
	
/*
 +-------------------------------------------------------------------+
 | Paths to includes are what the project uses, these should not be  |
 | changed                                                           |
 +-------------------------------------------------------------------+
*/

/**
 * "/var/www/gde-1.0"
 */
const base_path					=	"/var/www/gde-1.0";  	

/**
 * "/gde-1.0/htdocs/css/"
 */			
const css_path					=	"/gde-1.0/htdocs/css/";

/**
 * '/gde-1.0/htdocs/flash/'
 */
const flash_path				=	'/gde-1.0/htdocs/flash/';

/**
 * '/gde-1.0/htdocs/javascript/'
 */
const javascript_path		=	'/gde-1.0/htdocs/javascript/';

/**
 * '/gde-1.0/htdocs/images/'
 */
const images_path				=	'/gde-1.0/htdocs/images/';

/**
 * '/gde-1.0/htdocs/'
 */
const htdocs_path				=	'/gde-1.0/htdocs/';

/**
 * '/gde-1.0/templates/admin/'
 */
const admin_path				=	'/gde-1.0/templates/admin/';

/**
 * "/includes/adodb/"
 */
const adodb_path				=	"/includes/adodb/";

/**
 * '/includes/database/'
 */
const database_path			=	'/includes/database/';

/**
 * '/includes/html_functions/'
 */
const html_func_path		= '/includes/html_functions/';

/**
 * /includes/user_functions/'
 */
const user_func_path		=	'/includes/user_functions/';

/**
 * '/includes/builder_functions/'
 */
const builder_func_path = '/includes/builder_functions/';

/**
 * '/includes/browse_functions/'
 */
const browse_func_path	= '/includes/browse_functions/';

/**
 * '/includes/statistics_functions/'
 */
const stats_func_path		= '/includes/statistics_functions/';

/**
 * '/includes/graph_functions/'
 */
const graph_func_path		= '/includes/graph_functions/';	

/**
 * '/includes/public/'
 */
const public_ctl_path		= '/includes/public/';



/*
 +-------------------------------------------------------------------+
 | These files are the html related files that a user sees such as   |
 | the index page                                                    |
 +-------------------------------------------------------------------+
*/

/**
 * '/templates/public_header/top.php'
 */
const top_php						=	'/templates/public_header/top.php';

/**
 * '/templates/logged-in_header/top.php'
 */
const top_login_php			=	'/templates/logged-in_header/top.php';

/**
 * '/templates/public_header/nav.php'
 */
const nav_php						=	'/templates/public_header/nav.php';

/**
 * '/templates/logged-in_header/nav.php'
 */
const nav_login_php			= '/templates/logged-in_header/nav.php';

/**
 * '/htdocs/config.php'
 */
const config_php				=	'/htdocs/config.php';

// Paths that lead to public directory and logged in directory

/**
 * "/gde-1.0/templates/public/"
 */
const url_public				= "/gde-1.0/templates/public/";

/**
 * "/gde-1.0/templates/logged-in/"
 */
const url_logged_in			= "/gde-1.0/templates/logged-in/";


/*
 +-------------------------------------------------------------------+
 | Database specific information such as login, database name, and   |
 | database type, these can be changed but by default these are      |
 | included in the BACKEND database                                  |
 +-------------------------------------------------------------------+
*/

/**
 * "mysql"
 */
const db_type						=	"mysql";

/**
 * 'gdeuser'
 */
const db_username 			=	'gdeuser';	

/**
 * 'gdeuser'
 */		
const db_password 			=	'gdeuser';

/**
 * 	'localhost'
 */
const db_host						=	'localhost';

/**
 * 'BDAP'
 */
const db_database				=	'BDAP';

/**
 * 0
 */
const errors		        =	0;

}
?>
